﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HXu.BaseTools;


namespace HXu.ToolTest
{
    public class TestOfDebugTools : MonoBehaviour
    {
        string str1 = "111";
        Dictionary<int, string> keyValuePairs = new Dictionary<int, string>() { { 1, "111" }, { 2, "222" }, { 3, "333" } };
        List<string> vs = new List<string>() { { "111" }, { "222" } };

        private IEnumerator Start()
        {
            yield return null;
            str1.Log();//111
            this.Log(str1);//111

            yield return null;
            str1.LogError();//111
            this.LogError(str1);//111

            yield return null;
            str1.LogWarning();//111
            this.LogWarning(str1);//111

            yield return null;
            keyValuePairs.LogJoin(" ");//[1, 111] [2, 222] [3, 333]

            yield return null;
            vs.LogJoin(" ");//111 222
        }
    }
}
